<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>前端19期分类</title>
    <!-- 引入mui的样式 -->
    <link rel="stylesheet" href="./assets/mui/css/mui.css">
    <!-- 引入字体图标样式 -->
    <link rel="stylesheet" href="./assets/fontAwesome/css/font-awesome.css">
    <!-- 公共样式 -->
    <link rel="stylesheet" href="./css/common.css">
    <!-- 首页 自己的样式 -->
    <link rel="stylesheet" href="./css/search.css">
</head>

<body>
    <!-- 头部 -->
    <header id="lt_header" class="mui-bar mui-bar-nav">
        <a href="javascript:;" class=" fa fa-arrow-left h_left"> </a>
        <input type="text">
        <!-- 辅助类 -->
        <a href="./search.html" class="fa fa-search h_right"></a>
    </header>


    <!-- 主体 -->
    <div class="lt_view">
        <div class="left">

        </div>
        <div class="right">

        </div>
    </div>
    <!-- 尾部 -->
    <div class="lt_footer">
        <a href="./index.html">
            <span class="fa fa-home"></span>
            <div class="link_name">首页</div>
        </a>
        <a href="./category.html" class="active">
            <span class="fa fa-bars"></span>
            <div class="link_name">分类</div>
        </a>
        <a href="javascript:;">
            <span class="fa fa-cart-plus"></span>
            <div class="link_name">购物车</div>
        </a>
        <a href="javascript:;">
            <span class="fa fa-user"></span>
            <div class="link_name">会员中心</div>
        </a>
    </div>
    <!-- 模板1 -->
    <script type="text/template" id="leftTemp">

        <ul>
            {{each arr as value index}} 
            {{if index==0}}
            <li data-id="{{value.id}}" class="active">{{value.categoryName}}</li>
            {{/if}} 
            {{if index!=0}}
            <li data-id="{{value.id}}">{{value.categoryName}}</li>
            {{/if}} 
            {{/each}}
        </ul>
    </script>
    <!-- 模板2 -->
    <script type="text/html" id="rightTemp"> 
        <ul>
          {{each arr value index}}
          <li>
            <a href="javascript:;">
              <img src="{{value.brandLogo}}" alt="">
              <div class="brandName">{{value.brandName}}</div>
            </a>
          </li>
          {{/each}}
        </ul>
    
      </script>
</body>
<!-- mui js  不依赖其他 -->
<!-- bootstrap- 基于jquery -->
<script src="./assets/mui/js/mui.js"></script>
<!-- 引入模板 -->
<script src="./assets/arttemplate/template-web.js"></script>
<!-- zepto 方面我们自己开发 -->
<script src="./assets/zepto/zepto.js"></script>
<!-- 公共的js common.js -->
<script src="./js/common.js"></script>
<!-- 自己的js index.js -->
<script src="./js/search.js"></script>

</html>